var data = [{
    printname: "一分钱测试票",
    num: 1,
    ModifiedTime: "2021-09-27 11:09:55",
    json: {
        tel: 158,
        name: "liu"
    }
},
{
    printname: "一分钱测试票",
    num: 2,
    ModifiedTime: "2021-09-28 13:09:55",
    json: {
        tel: 131,
        name: "lin"
    }
},
{
    printname: "钱测试票",
    num: 2,
    ModifiedTime: "2021-09-28 11:09:55",
    json: {
        tel: 181,
        name: "luni"
    }
},
{
    printname: "测试票",
    num: 5,
    ModifiedTime: "2021-09-28 18:09:50",
    json: {
        tel: 131,
        name: "li"
    },
}
]
  let map = new Map()
  data.forEach(item => {
    let tel = item.json.tel
    if (!map.has(tel)) {
      map.set(tel, item)
    } else {
      if (new Date(map.get(tel).ModifiedTime) < new Date(item.ModifiedTime)) {
        map.set(tel, item)
      }
    }
  })
  data  = Array.from(map.values())



  console.log(data);

